﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="demo.aspx.cs" Inherits="Banmaytinh.Demo.demo" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        #Text1
        {
            width: 204px;
        }
        .style1
        {
            height: 26px;
        }
        #Text2
        {
            width: 204px;
        }
        .style2
        {
            height: 23px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <table style="width: 60%;">
            <tr>
                <td class="style1" colspan="2" width="200px">
                    &nbsp;
                    Nhap A</td>
                <td class="style1" colspan="2">
                    &nbsp;
                    <asp:TextBox ID="txta" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                    <asp:Label ID="Label1" runat="server" Text="Nhap B" Width="150px"></asp:Label>
                </td>
                <td colspan="2">
                    &nbsp;
                    <asp:TextBox ID="txtb" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="4" class="style2">
                     <asp:Label ID="lbltong" runat="server" Text="Tổng của a + b" Width="150px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td width="33%">
                    <asp:Button ID="btnLamlai" runat="server" Text="Lam lai" />
                </td>
                <td colspan="2" width="33%">
                    <asp:Button ID="btnTinh" runat="server" Height="26px" Text="Lời chào" 
                        Width="69px" onclick="btnTinh_Click" />
                </td>
                <td width="33%">
                    <telerik:RadButton ID="RadButton1" runat="server" Text="Thoát">
                    </telerik:RadButton>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
